
package com.example.sistemacompras.entity;

import java.util.Date;

public class OrderDetail {

    private int id;

    private Order order;

    private Product product;

    private int qtd;

    public OrderDetail() {

    }

    public OrderDetail(int id, Order order, Product product,int qtd) {
        this.id = id;
        this.order = order;
        this.product = product;
        this.qtd = qtd;
    }

    public int getId() {
        return id;
    }

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public int getQtd() {
		return qtd;
	}

	public void setQtd(int qtd) {
		this.qtd = qtd;
	}

	public void setId(int id) {
		this.id = id;
	}

    
}
